/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.project.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.modules.project.entity.BaseProjectInfo;

import com.jeeplus.common.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 分工安排Entity
 * @author jacky
 * @version 2017-12-31
 */
public class ProjectArrange extends DataEntity<ProjectArrange> {
	
	private static final long serialVersionUID = 1L;
	private String researchStage;		// 研究阶段
	private String achieve;		// 阶段性成果
	private String achieveFile;		// 成果附件路径
	private String achieveType;		// 成果形式
	private Date researchStageStart;		// 研究阶段起始
	private Date researchStageEnd;		// 研究阶段结束
	private BaseProjectInfo bptInfo;		// 关联项目
	
	public ProjectArrange() {
		super();
	}

	public ProjectArrange(String id){
		super(id);
	}

	@ExcelField(title="研究阶段", align=2, sort=7)
	public String getResearchStage() {
		return researchStage;
	}

	public void setResearchStage(String researchStage) {
		this.researchStage = researchStage;
	}
	
	@ExcelField(title="阶段性成果", align=2, sort=8)
	public String getAchieve() {
		return achieve;
	}

	public void setAchieve(String achieve) {
		this.achieve = achieve;
	}
	
	@ExcelField(title="成果附件路径", align=2, sort=9)
	public String getAchieveFile() {
		return achieveFile;
	}

	public void setAchieveFile(String achieveFile) {
		this.achieveFile = achieveFile;
	}
	
	@ExcelField(title="成果形式", align=2, sort=10)
	public String getAchieveType() {
		return achieveType;
	}

	public void setAchieveType(String achieveType) {
		this.achieveType = achieveType;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="研究阶段起始", align=2, sort=11)
	public Date getResearchStageStart() {
		return researchStageStart;
	}

	public void setResearchStageStart(Date researchStageStart) {
		this.researchStageStart = researchStageStart;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="研究阶段结束", align=2, sort=12)
	public Date getResearchStageEnd() {
		return researchStageEnd;
	}

	public void setResearchStageEnd(Date researchStageEnd) {
		this.researchStageEnd = researchStageEnd;
	}
	
	@ExcelField(title="关联项目", align=2, sort=13)
	public BaseProjectInfo getBptInfo() {
		return bptInfo;
	}

	public void setBptInfo(BaseProjectInfo bptInfo) {
		this.bptInfo = bptInfo;
	}
	
	
	
}